package ZY11_12;

import java.io.File;
import java.util.Arrays;

//输出当前电脑中所有的盘符
public class Test5 {
    public static void main(String[] args) {
//        File f=new File(".");
        File[] roots = File.listRoots();
        System.out.println(Arrays.toString(roots));
    }
}
